// 创建数据库集合

// 引入数据库的连接
const mongoose = require("./db.js");


// 创建集合
const serchSchema = new mongoose.Schema({
    searchId:{type:String},
    userId:{type:String},
    searchKey:{type:String},
    time:{type:Number}   //收货地址
});
module.exports = mongoose.model("myserch", serchSchema);